<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>餐饮注册</title>
    <link rel="stylesheet" href="../css/myCenter.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/register.js"></script>
</head>
<body class="middle">
<div>
    <!--    <form action="/RegisterServlet" method="post">-->
    <div>
        <div>用户名</div>
        <div><input type="text" name="username" id="username"></div>
        <div id="usernameTips"></div>
    </div>
    <div>
        <div>密码</div>
        <div><input type="password" id="password" name="password"></div>
        <div id="passwordTips"></div>
    </div>
    <div>
        <div>重输</div>
        <div><input type="password" id="rePassword" onkeyup="changePassWord()"></div>
        <div id="passTips"></div>
    </div>
    <div>
        <div>验证码</div>
        <div><input type="text" id="code" name="code" pattern="^\w{4}$" required></div>

    </div>
    <div>
        <div>手机</div>
        <div><input type="text" id="phone" name="phone"></div>
    </div>
    <div>
        <div>性别</div>
        <div><input type="radio" name="sex" value="男">男
            <input type="radio" name="sex" value="女">女
            <input type="radio" name="sex" value="保密">保密
        </div>
    </div>
    <div>
        <div>生日</div>
        <div><input type="date" name="birthday" id="birthday"></div>
    </div>
    <div>
        <div>身高</div>
        <div><input type="number" id="height" value="150" name="height" minlength="2" maxlength="3" min="30"
                    max="260">cm
        </div>
    </div>
    <div>
        <div>邮件</div>
        <div><input type="email" name="email" id="email" required></div>
    </div>
    <div>
        <div>爱好</div>
        <div>
            <label><input type="checkbox" name="hobby" value="篮球">篮球</label>
            <input type="checkbox" name="hobby" value="足球" id="zuqiu"><label for="zuqiu">足球</label>
            <input type="checkbox" name="hobby" value="羽毛球">羽毛球
            <input type="checkbox" name="hobby" value="乒乓球">乒乓球
        </div>
    </div>
    <div>
        <div><input type="button" value="提交" onclick="save()"></div>
        <div><input type="button" value="重置"></div>
    </div>
    <!--    </form>-->
</div>

</body>
</html>